home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 48
/
PC Gamer IT CD 48 1-2.iso
/
age2
/
AoE2demo.exe
/
1033
/
CABFILE
/
MSGAME.CAB
/
Data
/
gamedata.drs
/
Unnamed File 000014.bina
< prev
next >
Wrap
Text File
|
1999-10-01
|
1KB
|
46 lines
;make the castle
(defrule
(goal castle-attempt NO)
(current-age == imperial-age)
(stone-amount > 400)
(nor
(goal wonder-attempt POSSIBLE)
(goal wonder-attempt YES)
)
=>
(set-goal castle-attempt YES)
)
(defrule
(goal castle-attempt YES)
(can-build-with-escrow castle)
=>
(release-escrow stone)
(set-strategic-number sn-percent-civilian-builders 75)
(set-strategic-number sn-cap-civilian-builders 15)
(set-strategic-number sn-percent-civilian-gatherers 25)
(build castle)
(set-goal castle-attempt 2)
)
(defrule
(building-type-count castle > 0)
(or
(not (goal castle-attempt 2) )
(strategic-number sn-cap-civilian-builders == 15)
)
=>
(set-strategic-number sn-percent-civilian-builders 10)
(set-strategic-number sn-cap-civilian-builders 8)
(set-strategic-number sn-percent-civilian-gatherers 90)
(set-goal castle-attempt 2)
)
(defrule
(goal castle-attempt 2)
(building-type-count-total castle == 0)
=>
(set-goal castle-attempt YES)
)